﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Jb.Web.Utility;
using Jb.Domain;
using Jb.Common.Extensions;
using Jb.Web.ViewModels;

namespace Jb.Web.Controllers
{
    public class HomeController : BaseController
    {
        private JbEntities _Context;

        #region Contstructors

        public HomeController()
        {
            _Context = new JbEntities();
        }

        public HomeController(UserViewModel currentUser)
            : base(currentUser)
        {
            _Context = new JbEntities();
        }

        #endregion

        /// <summary>
        /// Serves for the Home Page
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            return View();
        }
    }
}
